﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _测试
{
    class Program
    {
        public static void Main(string[] args)
        {
            User user = new User();
            user.SetUser("aaa");
            user.GetUser();
            getA(user);


        }

        public static void getA(User u)
        {
          
        }
        public static void getB(User u)
        {

        }
        public static void getC(User u)
        {

        }
        public static void getD(User u)
        {

        }

    }

    public class User
    {
        public User()
        {

        }
        public User(string str)
        {
            Restule = str;
        }
        public string Restule { get; set; }
        public void SetUser(string str)
        {
            this.Restule = str;
        }

        public void GetUser()
        {
            Console.WriteLine(this.Restule);
        }
    }
}
